package com.xinnet.mms.user.dao.impl;
import org.springframework.stereotype.Repository;

import com.xinnet.core.dao.impl.BaseDaoImpl;
import com.xinnet.mms.entity.User;
import com.xinnet.mms.user.dao.UserDao;

@Repository("userDao")
public class UserDaoImpl extends BaseDaoImpl<User,Long> implements UserDao{

	@Override
	public User findByUserName(String userName) {
		return (User)getSqlSession().selectOne("user.findByUserName",userName);
	}
}
